<ion-view view-title="红包积分充值">
	<ion-header-bar align-title="left" class="bar-positive">
		<button ng-click="closeredpacketrechargemodal()" 
			class="button back-button buttons button-clear header-item" style="">
			<i class="icon ion-ios-arrow-back"></i> 
			<span class="back-text" style="transform: translate3d(0px, 0px, 0px);">
				<span class="default-title hide">返回</span>
				<span class="previous-title">返回</span>
			</span>
		</button>
		<h1 class="title" style="left: 0 !important; right: 0 !important; text-align: center;">红包积分充值</h1>
		<button class="button back-button buttons button-clear header-item" ng-click="paytypeexplain()">
			<span class="back-text" style="transform: translate3d(0px, 0px, 0px);">
				<span class="default-title hide">账户说明</span>
				<span class="previous-title">账户说明</span>
			</span>
		</button>
	</ion-header-bar>
	<ion-content class="">
		<div class="car">
			<a class="item item-avatar updatepay" href="" ng-click="tochooseinbank($event)"
				style="padding: 15px 80px;text-align: left;border-top: 1px solid #eee;">
			    <img ng-src="{{advancerecharge.incardimg}}" />
				<h2 ng-bind="advancerecharge.inaccountname"></h2>
				<p  ng-bind="advancerecharge.incardno"></p>
			</a>
			<div class="list card" style="margin-top: .15rem;background: #fff;">
				<div class="item" style="padding: .1rem;">充值金额 (元)</div>
				<div class="item item-input-inset" style="padding: .1rem .1rem .1rem .3rem;
    						margin-left: .2rem; border-bottom: 1px solid;">¥
					<label class="item-input-wrapper" style="background: #fff; padding-left: .1rem;margin-left: .2rem;">
			            <input type="text" placeholder="建议输入100元的整数倍" ng-model="advancerecharge.amount" style="width: 100%;">
			        </label>
				</div>
				<div class="item item-input-inset" style="padding: .1rem .1rem .1rem .2rem;
						 margin-left: .2rem; border-bottom: 1px solid #ddd; border-top: none;">积分
					<label class="item-input-wrapper" style="background: #fff; padding-left: .1rem;margin-left: .2rem;">
			            <input type="text" disabled="disabled" 
			            		ng-value="undefined == advancerecharge.amount || '' == advancerecharge.amount ? 0 : advancerecharge.amount * 795">
			        </label>
				</div>
				
				<div class="item" style="padding: .06rem .1rem; color: #ccc;border-top: none; margin-top:2px">
					<label class="item-input-wrapper" style="background: #fff; padding-left: .2rem;margin-left: .2rem;">
			            <span style="color:red">注&nbsp;:&nbsp; </span> 1&nbsp;元 = &nbsp;<span style="color:red">795</span>&nbsp;红包积分
			        </label>
				</div>
			</div>
			
			<div class="list card" style="margin-top: .15rem; background: #fff;">
				<a class="item" style="padding: .02rem; border-top: none;" ng-click="toupload()">
					<label class="item-input-wrapper"
						 style="background: #fff; padding: 0 .1rem 0 .4rem; 
							line-height: .4rem; border-radius: 0;height: 60px;">
			            <span style="display: inline-block; width:30px; height:40px; line-height: 40px;
			            		background-image: url(img/app/member/car/sc.png);
			            		background-repeat: no-repeat;
			            		background-size: 18px;
    							background-position: 64px center;
   			 				width: 70%;
    							padding-left: 100px;
    							vertical-align: super;
			            		">上传凭证</span>
			            	<span style="display: inline-block;width:20px; border-left:.01rem solid #DDD; 
			            		height:60px; line-height:40px; padding-left:.2rem;">
			            	</span>
			            	<img ng-src="{{img.fileimg}}" border="0" style="width:30px;height:40px;
			            		display: inline-block;margin-top: 10px; margin-bottom: 10px;border-image-width: 0px;" />
			        </label>
				</a>
			</div>
			
			<a ng-click="tosubmit()" class="button button-block button-energized next" 
				style="width:80%; margin: 1rem auto .1rem auto;">提交申请</a>
			<div class="list card" style="background: transparent;">	
				<div class="item"  style="padding: .1rem; color: #aaa;border-top: none; margin-top:2px;    background: transparent;">
					<label class="item-input-wrapper" style=" padding-left: .2rem;margin-left: .2rem;    background: transparent;">
			            <span style="color:red">温馨提示&nbsp;:&nbsp; </span> 预计&nbsp;<span style="color:red">1</span>&nbsp;个工作日内处理完成
			        </label>
				</div>
			</div>
		</div>
	</ion-content>
</ion-view>